{
  "properties" : { },
  "id" : "9f963cdc3a9e402d8c446cba8fd2ae1c",
  "script" : null,
  "groupId" : "e41696ad398f410a9a78ff473df3690c",
  "name" : "菜单控制",
  "createTime" : 1762491912363,
  "updateTime" : 1762352008994,
  "lock" : null,
  "createBy" : null,
  "updateBy" : "919767736",
  "path" : "/page/site.json",
  "method" : "GET",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"status\": 0,\n    \"msg\": \"success\",\n    \"data\": {\n        \"pages\": [\n            {\n                \"label\": \"Home\",\n                \"url\": \"/\",\n                \"redirect\": \"/index/1\"\n            },\n            {\n                \"label\": \"示例\",\n                \"children\": [\n                    {\n                        \"label\": \"页面A\",\n                        \"url\": \"index\",\n                        \"schema\": {\n                            \"type\": \"page\",\n                            \"title\": \"页面A\",\n                            \"body\": \"页面A\"\n                        },\n                        \"children\": [\n                            {\n                                \"label\": \"页面A-1\",\n                                \"url\": \"1\",\n                                \"schema\": {\n                                    \"type\": \"page\",\n                                    \"title\": \"页面A-1\",\n                                    \"body\": \"页面A-1\"\n                                }\n                            },\n                            {\n                                \"label\": \"页面A-2\",\n                                \"url\": \"2\",\n                                \"schema\": {\n                                    \"type\": \"page\",\n                                    \"title\": \"页面A-2\",\n                                    \"body\": \"页面A-2\"\n                                }\n                            },\n                            {\n                                \"label\": \"页面A-3\",\n                                \"url\": \"3\",\n                                \"schema\": {\n                                    \"type\": \"page\",\n                                    \"title\": \"页面A-3\",\n                                    \"body\": \"页面A-3\"\n                                }\n                            }\n                        ]\n                    },\n                    {\n                        \"label\": \"页面B\",\n                        \"badge\": 3,\n                        \"badgeClassName\": \"bg-info\",\n                        \"schema\": {\n                            \"type\": \"page\",\n                            \"title\": \"页面B\",\n                            \"body\": \"页面B\"\n                        }\n                    },\n                    {\n                        \"label\": \"页面C\",\n                        \"schema\": {\n                            \"type\": \"page\",\n                            \"title\": \"页面C\",\n                            \"body\": \"页面C\"\n                        }\n                    },\n                    {\n                        \"label\": \"列表示例\",\n                        \"url\": \"/crud\",\n                        \"rewrite\": \"/crud/list\",\n                        \"icon\": \"fa fa-cube\",\n                        \"children\": [\n                            {\n                                \"label\": \"列表\",\n                                \"url\": \"/crud/list\",\n                                \"icon\": \"fa fa-list\",\n                                \"schemaApi\": \"get:/pages/crud-list.json\"\n                            },\n                            {\n                                \"label\": \"新增\",\n                                \"url\": \"/crud/new\",\n                                \"icon\": \"fa fa-plus\",\n                                \"schemaApi\": \"get:/pages/crud-new.json\"\n                            },\n                            {\n                                \"label\": \"查看\",\n                                \"url\": \"/crud/:id\",\n                                \"schemaApi\": \"get:/pages/crud-view.json\"\n                            },\n                            {\n                                \"label\": \"修改\",\n                                \"url\": \"/crud/:id/edit\",\n                                \"schemaApi\": \"get:/pages/crud-edit.json\"\n                            }\n                        ]\n                    }\n                ]\n            },\n            {\n                \"label\": \"分组2\",\n                \"children\": [\n                    {\n                        \"label\": \"用户管理\",\n                        \"schema\": {\n                            \"type\": \"page\",\n                            \"title\": \"用户管理\",\n                            \"body\": \"页面C\"\n                        }\n                    },\n                    {\n                        \"label\": \"外部链接\",\n                        \"link\": \"http://baidu.gitee.io/amis\"\n                    },\n                    {\n                        \"label\": \"部门管理\",\n                        \"schemaApi\": \"${API_HOST}/api/amis-mock/mock2/service/form?tpl=tpl3\"\n                    },\n                    {\n                        \"label\": \"jsonp 返回示例\",\n                        \"schemaApi\": \"jsonp:/pages/jsonp.js?callback=jsonpCallback\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"timestamp\": 1762272774419,\n    \"requestTime\": 1762272774419,\n    \"executeTime\": 0\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
return {
    "pages": [{
            "label": "Home",
            "url": "/",
            "redirect": "/index/data"
        },
        {
            "label": "数据展示",
            "children": [{
                "label": "订单订购数据",
                "badge": 3,
                "url": "/index/data",
                "badgeClassName": "bg-info",
                "schema": {
                    "type": "page",
                    "title": "订单数据",
                    "body": [{
                        "type": "crud",
                        "api": "get:/open/data/product",
                        loadDataOnce: true,
                        "headerToolbar": [
                            "export-excel"
                        ],
                        "columns": [{
                                "name": "业务ID",
                                "label": "业务ID",
                                "sortable": true,
                                "searchable": true
                            },
                            {
                                "name": "业务名称",
                                "label": "业务名称",
                                "sortable": true,
                                "searchable": true
                            },
                            {
                                "name": "渠道ID",
                                "label": "渠道ID",
                                "sortable": true,
                                "searchable": true
                            },
                            {
                                "name": "渠道名称",
                                "label": "渠道名称",
                                "sortable": true,
                                "searchable": true
                            },

                            {
                                "name": "日期",
                                "label": "日期",
                                "sortable": true,
                                "searchable": true
                            },
                            {
                                "name": "总量",
                                "label": "总量"
                            },
                            {
                                "name": "订购成功",
                                "label": "订购成功"
                            },
                            {
                                "name": "扣量",
                                "label": "扣量"
                            },
                            {
                                "name": "通知下游量级",
                                "label": "通知下游量级"
                            },
                            {
                                "name": "通知成功下游量级",
                                "label": "通知成功下游量级"
                            },
                            {
                                "name": "订购成功_除以_总量",
                                "label": "订购成功_除以_总量"
                            }
                        ]
                    }]
                }
            },{
                "label": "产品配置",
                "badge": 3,
                "url": "/config/product",
                "badgeClassName": "bg-info",
                "schemaApi": "get:open/data/config/product.json"
            }]
        }
    ]
}